import 'package:desktop_webview_window/desktop_webview_window.dart';

import 'io_webview.dart';

class DesktopWebviewBridgeImpl extends WebviewBridgeImpl {
  DesktopWebviewBridgeImpl() : super('desktop');

  @override
  Future<bool> create() async {
    final webview = await WebviewWindow.create();
    webview.launch("https://example.com");
    return true;
  }

  @override
  void dispose() {}

  @override
  bool load(String url) {
    throw UnimplementedError();
  }
}
